<?php

namespace lico\Tool\Exception;

use lico\Runtime\Response;

use lico\Container;

class SmartyException extends \Exception
{

    public function __construct($message, $code)
    {
        parent::__construct($message, $code);
        Container::getBowl('lico\Runtime\Response')->error($message);
    }
}
